package org.jeecg.modules.base.service.impl;

import org.jeecg.modules.base.entity.BaseScore;
import org.jeecg.modules.base.entity.dto.ScoreDto;
import org.jeecg.modules.base.entity.vo.ScoreVo;
import org.jeecg.modules.base.mapper.BaseScoreMapper;
import org.jeecg.modules.base.service.IBaseScoreService;
import org.springframework.stereotype.Service;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;

import java.util.List;

/**
 * @Description: base_score
 * @Author: jeecg-boot
 * @Date:   2021-04-14
 * @Version: V1.0
 */
@Service
public class BaseScoreServiceImpl extends ServiceImpl<BaseScoreMapper, BaseScore> implements IBaseScoreService {

    @Override
    public List<ScoreVo> getList(ScoreDto dto) {

        return baseMapper.getList(dto);
    }

    @Override
    public Integer getSum(String userId) {
        return baseMapper.getSum(userId);
    }
}
